package com.ruoyi.basicInfo.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓储煤种信息对象 s_plm_rts_warehouse_coal
 * 
 * @author zbw
 * @date 2022-07-16
 */
public class WarehouseCoal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 仓储编号 */
    @Excel(name = "仓储编号")
    private String warehouseId;

    /** 煤种类型 */
    @Excel(name = "煤种类型")
    private Integer coalType;

    /** 煤种重量 */
    @Excel(name = "煤种重量")
    private BigDecimal coalVolume;

    /** 操作日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operateDate;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setWarehouseId(String warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId() 
    {
        return warehouseId;
    }
    public void setCoalType(Integer coalType) 
    {
        this.coalType = coalType;
    }

    public Integer getCoalType() 
    {
        return coalType;
    }
    public void setCoalVolume(BigDecimal coalVolume) 
    {
        this.coalVolume = coalVolume;
    }

    public BigDecimal getCoalVolume() 
    {
        return coalVolume;
    }
    public void setOperateDate(Date operateDate) 
    {
        this.operateDate = operateDate;
    }

    public Date getOperateDate() 
    {
        return operateDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warehouseId", getWarehouseId())
            .append("coalType", getCoalType())
            .append("coalVolume", getCoalVolume())
            .append("operateDate", getOperateDate())
            .toString();
    }
}
